package assignments;

public class integer {
	public static void main(String[] args) {
		//decimal literals
		
		//octal literals
		int six = 06;		//equal to decimal 6
		int seven = 07;		//equal to decimal 7
		int eight = 010;	//equal to decimal 8
		int nine = 011;		//equal to decimal 9
		System.out.println("Octal 010 = " + eight );
		
		//hexadecimal literals
		int x = 0X0001;
		int y = 0x7fffffff;
		int z = 0xDeadCafe;
		System.out.println("x = " + x + " y = " + y + " z = " + z);
		
	}
}

